package com.shkco.feign;

import com.shkco.domain.Systemdictionary;
import com.shkco.domain.Systemdictionaryitem;
import com.shkco.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "service-system")
public interface SystemService {

    @RequestMapping(value="/systemdictionary/save",method= RequestMethod.POST)
    JSONResult saveOrUpdate(@RequestBody Systemdictionary systemdictionary);

    @RequestMapping(value="/systemdictionaryitem/save",method= RequestMethod.POST)
    JSONResult saveOrUpdate(@RequestBody Systemdictionaryitem systemdictionaryitem);
}
